<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/star">首页</a>
                </li>
                <li>
                    <a href="#/onduty/kpi/kpi_report_list">指标列表</a>
                </li>
                <li class="active">Metric详情</li>
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">

    <div class="row">
            <div class="col-sm-12 col-md-12 main">
                <div class="col-md-6 col-md-offset-3">
                    <h2 style="text-align: center">详情信息</h2>
                    <form name="form" ng-submit="form.$valid&&addReport()" novalidate>
                        <div class="form-group">
                            <label style="padding: 0 0 5px">所属团队</label>
                            <input type="text" class="form-control" name="groupId" ng-model="vm.p.groupId"  />
                            <span ng-show="form.groupId.$error.required" class="help-block" >所属团队!</span>
                        </div>
<!--                        <div class="form-group">-->
<!--                            <label style="padding: 0 0 5px">项目编号</label>-->
<!--                            <input type="text" class="form-control" name="kpiId" ng-model="vm.p.kpiId"  />-->
<!--                            <span ng-show="form.kpiId.$error.required" class="help-block" >项目编号!</span>-->
<!--                        </div>-->
                        <div class="form-group">
                            <label style="padding: 0 0 5px">目标项</label>
                            <input type="text" class="form-control" name="metricId" ng-model="vm.p.metricId"  />
                            <span ng-show="form.metricId.$error.required" class="help-block" >项目目标项!</span>
                        </div>
<!--                        <div class="form-group">-->
<!--                            <label style="padding: 0 0 5px">维度</label>-->
<!--                            <input type="text" class="form-control" name="dimension" ng-model="vm.p.dimension"  />-->
<!--                            <span ng-show="form.dimension.$error.required" class="help-block" >维度!</span>-->
<!--                        </div>-->
                        <div class="form-group">
                            <label style="padding: 0 0 5px">值</label>
                            <input type="text" class="form-control" name="metricValue" ng-model="vm.p.metricValue"  />
                            <span ng-show="form.metricValue.$error.required" class="help-block" >指标值!</span>
                        </div>
                        <div class="form-group">
                            <label style="padding: 0 0 5px">时间</label>
                            <input type="text" class="form-control" name="reportDate" ng-model="vm.p.reportDate"  />
                            <span ng-show="form.reportDate.$error.required" class="help-block" >时间!</span>
                        </div>
                        <div class="form-group">
                            <label style="padding: 0 0 5px">来源</label>
                            <input type="text" class="form-control" name="source" ng-model="vm.p.source"  />
                            <span ng-show="form.source.$error.required" class="help-block" >来源，手工填写为oa，脚本生成为实例agentId!</span>
                        </div>
                        <div class="form-group">
                            <input class="btn btn-primary" type="submit" value="确定"/>
                            <a href="#/onduty/kpi/kpi_report_detail/{{vm.p.groupId}}/{{vm.p.metricId}}" class="btn btn-default">返回</a>
                        </div>
                    </form>
                </div>
            </div>
    </div>
</div><!--/.container-->
